package cn.mw.cmdb.param;

import cn.mw.cmdb.anno.ExcelValid;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

@Data
public class SpecificationExcelImportParam {
    @ExcelProperty(value = "厂商名称", order = 0)
    @ExcelValid(message = "厂商名称不能为空")
    protected String vendor;

    @ExcelProperty(value = "规格型号", order = 1)
    @ExcelValid(message = "规格型号不能为空")
    protected String specification;

    @ExcelProperty(value = "类型(0-软件,1-硬件；输入0或1)", order = 2)
    protected Integer type;

    @ExcelProperty(value = "设备高度", order = 3)
    protected Integer deviceHeight;

    @ExcelProperty(value = "备注", order = 4)
    protected String description;

    @ExcelProperty(value = "错误信息", order = 5)
    private String errorMsg;
}
